﻿using System;
using SqlHelper;

namespace Model.Admin
{
    public class UserInfo : EntityBase
    {
        public UserInfo()
        {
            PrimaryKey = "UserID";
            TableName = "TUserInfo";
            AllField = "UserID,UserName,UserType,CreateTime,UpdateTime,PassWords,IsLock,IsDelete,Phones,Ages,Sexs,AddressInfo,AddressID,UserEmail";
            KeyStatus = KeyStatus.Identity;
            OrderBy = " order by CreateTime desc "; 
        }

        public int? UserID { set; get; }

        public string UserName { set; get; }

        public string UserEmail { set; get; }

        public int? UserType { set; get; }

        public DateTime? CreateTime { set; get; }

        public DateTime? UpdateTime { set; get; }

        public string PassWords { set; get; }

        public int? IsLock { set; get; }

        public int? IsDelete { set; get; }

        public string Phones { set; get; }

        public int? Ages { set; get; }

        public string Sexs { set; get; }

        public int? AddressID { set; get; }

        public string AddressInfo { set; get; }
    }
}
